<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::fluid_dynamics::DensitySummation&lt; DensitySummationInnerType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><b>fluid_dynamics</b></li><li class="navelem"><a class="el" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation.html">DensitySummation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::fluid_dynamics::DensitySummation&lt; DensitySummationInnerType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>computing density by summation considering contribution from contact bodies  
 <a href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fluid__dynamics__complex_8h_source.html">fluid_dynamics_complex.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_particle_dynamics_complex.html">SPH::ParticleDynamicsComplex&lt; DensitySummationInnerType, FluidContactData &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af72c1b4441e369aa7ab7d1e1c3e652d5"><td class="memItemLeft" align="right" valign="top"><a id="af72c1b4441e369aa7ab7d1e1c3e652d5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DensitySummation</b> (<a class="el" href="class_s_p_h_1_1_base_body_relation_inner.html">BaseBodyRelationInner</a> &amp;inner_relation, <a class="el" href="class_s_p_h_1_1_base_body_relation_contact.html">BaseBodyRelationContact</a> &amp;contact_relation)</td></tr>
<tr class="separator:af72c1b4441e369aa7ab7d1e1c3e652d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fabd3206e3a26def6accc539605fe88"><td class="memItemLeft" align="right" valign="top"><a id="a2fabd3206e3a26def6accc539605fe88"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DensitySummation</b> (<a class="el" href="class_s_p_h_1_1_complex_body_relation.html">ComplexBodyRelation</a> &amp;complex_relation)</td></tr>
<tr class="separator:a2fabd3206e3a26def6accc539605fe88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cfb0c8601b18da17e702e3c6b2bd27c"><td class="memItemLeft" align="right" valign="top"><a id="a9cfb0c8601b18da17e702e3c6b2bd27c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DensitySummation</b> (<a class="el" href="class_s_p_h_1_1_complex_body_relation.html">ComplexBodyRelation</a> &amp;complex_relation, <a class="el" href="class_s_p_h_1_1_base_body_relation_contact.html">BaseBodyRelationContact</a> &amp;extra_contact_relation)</td></tr>
<tr class="separator:a9cfb0c8601b18da17e702e3c6b2bd27c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_particle_dynamics_complex"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_particle_dynamics_complex')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_particle_dynamics_complex.html">SPH::ParticleDynamicsComplex&lt; DensitySummationInnerType, FluidContactData &gt;</a></td></tr>
<tr class="memitem:a49e2112bc2b7af3cd889c6860a3a46e0 inherit pub_methods_class_s_p_h_1_1_particle_dynamics_complex"><td class="memItemLeft" align="right" valign="top"><a id="a49e2112bc2b7af3cd889c6860a3a46e0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleDynamicsComplex</b> (<a class="el" href="class_s_p_h_1_1_base_body_relation_inner.html">BaseBodyRelationInner</a> &amp;inner_relation, <a class="el" href="class_s_p_h_1_1_base_body_relation_contact.html">BaseBodyRelationContact</a> &amp;contact_relation)</td></tr>
<tr class="separator:a49e2112bc2b7af3cd889c6860a3a46e0 inherit pub_methods_class_s_p_h_1_1_particle_dynamics_complex"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d905b957246f3f9cd0b227ad6a78d0 inherit pub_methods_class_s_p_h_1_1_particle_dynamics_complex"><td class="memItemLeft" align="right" valign="top"><a id="a63d905b957246f3f9cd0b227ad6a78d0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleDynamicsComplex</b> (<a class="el" href="class_s_p_h_1_1_complex_body_relation.html">ComplexBodyRelation</a> &amp;complex_relation, <a class="el" href="class_s_p_h_1_1_base_body_relation_contact.html">BaseBodyRelationContact</a> &amp;extra_contact_relation)</td></tr>
<tr class="separator:a63d905b957246f3f9cd0b227ad6a78d0 inherit pub_methods_class_s_p_h_1_1_particle_dynamics_complex"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7fa17f080096be03f57c300c5fbc5cac"><td class="memItemLeft" align="right" valign="top"><a id="a7fa17f080096be03f57c300c5fbc5cac"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>prepareContactData</b> () override</td></tr>
<tr class="separator:a7fa17f080096be03f57c300c5fbc5cac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ecc6454a2f9fad88aa13667fcacfe5e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation.html#a7ecc6454a2f9fad88aa13667fcacfe5e">Interaction</a> (<a class="el" href="classsize__t.html">size_t</a> index_i, Real dt=0.0) override</td></tr>
<tr class="separator:a7ecc6454a2f9fad88aa13667fcacfe5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a942e240bc092ec6664c9fec9365fc695"><td class="memItemLeft" align="right" valign="top"><a id="a942e240bc092ec6664c9fec9365fc695"></a>
StdVec&lt; Real &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>contact_inv_rho0_</b></td></tr>
<tr class="separator:a942e240bc092ec6664c9fec9365fc695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef298314756ec4f4a4abf66037650429"><td class="memItemLeft" align="right" valign="top"><a id="aef298314756ec4f4a4abf66037650429"></a>
StdVec&lt; StdLargeVec&lt; Real &gt; * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>contact_mass_</b></td></tr>
<tr class="separator:aef298314756ec4f4a4abf66037650429"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class DensitySummationInnerType&gt;<br />
class SPH::fluid_dynamics::DensitySummation&lt; DensitySummationInnerType &gt;</h3>

<p>computing density by summation considering contribution from contact bodies </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a7ecc6454a2f9fad88aa13667fcacfe5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ecc6454a2f9fad88aa13667fcacfe5e">&#9670;&nbsp;</a></span>Interaction()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DensitySummationInnerType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation.html">SPH::fluid_dynamics::DensitySummation</a>&lt; DensitySummationInnerType &gt;::Interaction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>index_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>dt</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Contact interaction. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/particle_dynamics/fluid_dynamics/<a class="el" href="fluid__dynamics__complex_8h_source.html">fluid_dynamics_complex.h</a></li>
<li>SPHINXsys/src/shared/particle_dynamics/fluid_dynamics/<a class="el" href="fluid__dynamics__complex_8hpp_source.html">fluid_dynamics_complex.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
